﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace DTO
{
    public class KhachHangDTO
    {
        private int _id;

        private bool _laKHTT;

        public bool LaKHTT
        {
            get { return _laKHTT; }
            set { _laKHTT = value; }
        }

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private String _tendangnhap;

        public String Tendangnhap
        {
            get { return _tendangnhap; }
            set { _tendangnhap = value; }
        }

        private String _matkhau;

        public String Matkhau
        {
            get { return _matkhau; }
            set { _matkhau = value; }
        }

        private String _email;

        public String Email
        {
            get { return _email; }
            set { _email = value; }
        }

        private String _hoten;

        public String Hoten
        {
            get { return _hoten; }
            set { _hoten = value; }
        }

        private String _cmnd;

        public String Cmnd
        {
            get { return _cmnd; }
            set { _cmnd = value; }
        }

        private int _gioitinh;

        public int Gioitinh
        {
            get { return _gioitinh; }
            set { _gioitinh = value; }
        }

        private DateTime _ngaydangky;

        public DateTime Ngaydangky
        {
            get { return _ngaydangky; }
            set { _ngaydangky = value; }
        }

        private double _diemThuong;

        public double DiemThuong
        {
            get { return _diemThuong; }
            set { _diemThuong = value; }
        }

        private double _no;

        public double No
        {
            get { return _no; }
            set { _no = value; }
        }

        public static IEnumerable<SelectListItem> GetListGioiTinh()
        {
            List<SelectListItem> lsGioiTinh = new List<SelectListItem>();
            SelectListItem item1 = new SelectListItem();
            item1.Value = "0";
            item1.Text = "Nữ";
            lsGioiTinh.Add(item1);
            SelectListItem item2 = new SelectListItem();
            item2.Value = "1";
            item2.Text = "Nam";
            lsGioiTinh.Add(item2);
            IEnumerable<SelectListItem> IEnumerableGioiTinh = lsGioiTinh;
            return IEnumerableGioiTinh;
        }
    }
}
